แม่แบบ:Infobox typeface
หน้าตา
(เปลี่ยนทางจาก แม่แบบ:กล่องข้อมูล ฟอนต์)
แม่แบบนี้มีส่วนประกอบของตัวเลือกย่อยมากกว่าหนึ่งตัวเลือก การใช้งานยังใช้ง่ายเหมือนแม่แบบทั่วไป แต่การแก้ไขแม่แบบนี้ควรทำด้วยความระมัดระวังเป็นพิเศษ เพราะมีส่วนประกอบย่อยและพารามิเตอร์ย่อยต่าง ๆ |
วิธีใช้
[แก้]{{Infobox font | name = | familyname = | image = [[Image:{{{name}}} specimen.svg|220px|{{{name}}}]] | style = | classifications = | creator = | commissioned_by = | foundry = | foundries = | creationdate = | releasedate = | trademark = | based_on = | aka = | variations = | sample = Image:{{{name}}} sample.svg | shown_here = | sample_fullimage = Image:{{{name}}} full sample.svg }}
Attributes
[แก้]Required
[แก้]- name
- Name of the typeface. Please be specific so the font preview works well.
- style
- Style of the typeface: Serif, Sans-serif, Script, Blackletter, Display, Symbol
Optional
[แก้]Not required, but recommended.
- familyname
- The name of the font's principal family. For instance, Arial Black is a part of the Arial family.
- classifications
- A more specific term for the style, such as "Modern", "Humanist" or "Geometric"
- image
- Image of name of the font, set in its own face. This is different than the sample attribute below. SVG file format is recommended.
- based_on
- Refers to the original design on which a revival, reinterpretation, homage or extension is based upon. This is not the same as a clone, for which the "aka" attribute should be used.
- aka
- Alternate (or imitation) names for other fonts based on this typeface. For instance, "Swiss 721" is Bitstream's name for its release of Helvetica.
- creationdate
- The year the font was created.
- releasedate
- The year the typeface was first released, if different than the creation date.
- creator
- Name of this font's designer(s), if known. Otherwise leave blank and fill in foundry name.
- commissioned_by
- Name of organization or individual who originally commissioned the typeface to be created.
- foundry
- The original distributor and license owners of the typeface.
- foundries
- The names of foundries that have re-issued the typeface in the same format or formats differing from the original, ie. digital.
- trademark
- The owner of the font name, or the holder of the font's trademark.
- variations
- List of alternate foundry type designs based on the letterforms of this typeface. For instance, "Garamond", Adobe Garamond", and "ITC Garamond" are different designs, yet are all based on the same original typeface.
- sample
- A sample of the font, displaying a single large character ("g"), the "quick brown fox" pangram, and a set of characters (A–Z, a–z, 0-9, basic punctuation). SVG file format is recommended.
- shown here
- Names the version of the font pictured in the illustration.
- sample_fullimage
- A large sample image of the font, displaying its full character set (typically, the standard 256 glyphs of a TrueType font). SVG file format is recommended.
ตัวอย่าง
[แก้]Normal syntax
[แก้]ชนิด | Serif |
---|---|
การจัดหมู่แบบว็อกซ์-เอไทไพ | Slab serif |
ออกแบบโดย | Alexander Phemister |
ฟาวดรี | ITC |
Sample | |
ดูอักษรทั้งหมด |
{{Infobox font | name = Bookman | image = [[Image:Bookman font.svg|220px|Bookman]] | style = [[Serif]] | classifications = [[Slab serif]] | date = [[1860]] | creator = [[Alexander Phemister]] | foundry = [[International Typeface Corporation|ITC]] | sample = [[Image:Bookman_sample.svg|220px|Bookman sample text]] | sample_fullimage = Bookman.png }}
Minimal syntax
[แก้]ชนิด | Script |
---|
{{Infobox font | name = Comic Sans | style = [[Script typeface|Script]] }}
Optimal syntax
[แก้]ชนิด | sans-serif |
---|---|
ออกแบบโดย | Max Miedinger |
ฟาวดรี | Haas’sche Schriftgießerei Linotype |
รูปแบบต่าง ๆ | Helvetica Neue Helvetica Rounded Nimbus Sans |
ชื่ออื่น | Swiss 721 |
Sample |
{{Infobox font | name = Helvetica | image = [[Image:Helvetica font.svg|220px|Helvetica]] | style = [[Sans-serif]] | aka = [[Swiss 721]] | date = [[1957]] | creator = [[Max Miedinger]] | foundry = [[Haas Typefoundry|Haas’sche Schriftgießerei]]<br />[[Linotype]] | variations = [[Helvetica Neue]]<br />[[Helvetica Rounded]]<br />[[Nimbus Sans]] | sample = [[Image:Helvetica sample.svg|220px|Helvetica sample text]] }}</nowiki>
คู่มือการใช้งานที่ปรากฏด้านบนนี้ดึงมาจาก แม่แบบ:Infobox typeface/doc (แก้ | ประวัติ) ผู้เขียนสามารถทำการทดลองได้ที่กระบะทราย (สร้าง | คัดลอก) และชุดทดสอบ (สร้าง) ของแม่แบบนี้ โปรดเพิ่มหมวดหมู่ไปที่หน้าย่อย /doc หน้าย่อยของแม่แบบนี้ |